<%-- 
    Document   : header
    Created on : Jul 14, 2011, 10:52:22 AM
    Author     : cedric.creusot
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@include file="include.jsp" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Dorian : UML Editor</title>
        <link rel="stylesheet" type="text/css" href="./styles/default.css" />
        <link rel="stylesheet" type="text/css" href="./styles/UmlCanvas.css"/>
        <logic:present parameter="proj">
            <logic:present parameter="diag">
                <script type="text/javascript" src="./js/UmlCanvas.standalone.min.js"></script>
            </logic:present>
        </logic:present>
        <script type="text/javascript" src="./js/jquery-1.6.2.min.js"></script> 
        <script type="text/javascript"> 
            $(document).ready(function(){ 
                //quant on clique sur le div blocaction 
                $("#blocaction").click(function(){ 
                    //si le div deroulant est caché on le montre 
                    if($("#deroulant").css("display")=="none") 
                    { 
                        $("#deroulant").slideToggle(); 
                    }
                    else if($("#deroulant").css("display")=="block") 
                    { 
                        $("#deroulant").slideToggle(); 
                    }
                }); 
                //quand on resort de déroulant 
                //$("#deroulant").click(function(){ 
                //    //rien 
                //},function(){ 
                //    //si le div déroulant est visible, on le cache 
                //    if($("#deroulant").css("display")=="block") 
                //    { 
                //        $("#deroulant").slideToggle(); 
                //    } 
                //}); 
            }); 
        </script>
        <script type="text/javascript"> 
            $(document).ready(function(){ 
                //quant on clique sur le div blocaction 
                $("#blocaction_error").click(function(){ 
                    //si le div deroulant est caché on le montre 
                    if($("#deroulant_error").css("display")=="none") 
                    { 
                        $("#deroulant_error").slideToggle(); 
                    }
                    else if($("#deroulant_error").css("display")=="block") 
                    { 
                        $("#deroulant_error").slideToggle(); 
                    }
                }); 
            }); 
        </script>
        <script type="text/javascript"> 
            $(document).ready(function(){ 
                //quant on clique sur le div blocaction 
                $("#blocaction_console").click(function(){ 
                    //si le div deroulant est caché on le montre 
                    if($("#deroulant_console").css("display")=="none") 
                    { 
                        $("#deroulant_console").slideToggle(); 
                    }
                    else if($("#deroulant_console").css("display")=="block") 
                    { 
                        $("#deroulant_console").slideToggle(); 
                    }
                });
            }); 
        </script>
    </head>
    <body> 
        <div id="Header"><div id="Header_center"><div id="title"></div></div></div>
        <div id="belt_top"><div id="belt_top_center"></div></div>
        <logic:equal name="user" property="isLogged" value="true">
            <div id="menu">
                <div id="menu_center">
                    <div id="menu_container">
                        <li><a href="?action=myinfo">My Info</a></li>
                        <li><a href="?action=myprojects">My Projects</a></li>
                        <li><a href="?action=disconnect">Disconnect</a></li>
                    </div>
                </div>
            </div>
            <div id="belt_top"><div id="belt_top_center"></div></div>
        </logic:equal>
        <div id="main">

